$(document).ready(function () {
        var bt = $('.back-to');
        var sw = document.body.clientWidth;
        var limitsw = (sw - 980) / 2 - 60;
        if (limitsw > 0){
                limitsw = parseInt(limitsw);
                bt.css("right",limitsw);
        }
        bt.css("left","	expression(eval(document.documentElement.scrollLeft+document.documentElement.clientWidth-this.offsetWidth)-(parseInt(this.currentStyle.marginLeft,10)||0)-(parseInt(this.currentStyle.marginRight,10)+20||0));");

        $(window).resize(function() {
        	var bt = $('.back-to');
            var limitsw = (sw - 980) / 2 - 60;
            if (limitsw > 0){
                    limitsw = parseInt(limitsw);
                    bt.css("right",limitsw);
            }else{
            	bt.hide();
            }
        });
        
});